<%--
    Document   : Categories
    Created on : 19/04/2011, 09:27:01 Ù…
    Author     : Mostafa
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib  prefix="ds" uri="/WEB-INF/tlds/displaycategories.tld" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<div id="page-body">
    <br>
    <br>
    <br>
    <br>
    <html:form action="addVote.do?threadid=${param.thread}" >
        <h2>Enter A Question and Amaximum of 5 Choices</h2>
        <table>
            <tr><td><h3>Question : </h3></td><td><html:text name="VoteBean" property="quest"/></td></tr>
            <tr><td><h3>Choice #1 : </h3></td><td><html:text name="VoteBean" property="choice1"/></td></tr>
            <tr><td><h3>Choice #2 : </h3></td><td><html:text name="VoteBean" property="choice2"/></td></tr>
            <tr><td><h3>Choice #3 : </h3></td><td><html:text name="VoteBean" property="choice3"/></td></tr>
            <tr><td><h3>Choice #4 : </h3></td><td><html:text name="VoteBean" property="choice4"/></td></tr>
            <tr><td><h3>Choice #5 : </h3></td><td><html:text name="VoteBean" property="choice5"/></td></tr>
            <html:hidden name="VoteBean" property="threadID" value="${param.thread}" />
        </table>
        <html:submit value="Ok"></html:submit>
    </html:form>
    <br>
    <br>

</div>
